package com.jxtc.enterprise.hr.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Schema(description = "用于修改部门信息的数据")
@Getter
@Setter
@ToString
public class DepartmentUpdateDTO {
    @Schema(description = "部门 ID", example = "c752804d0cd410267f404dd3f0457a57")
    @NotBlank(message = "部门 ID 不能为空")
    private String id;

    @Schema(description = "部门名称", example = "技术部")
    private String name;

    @Schema(description = "部门送餐地址", example = "xx 栋 xxx 号")
    private String address;
}
